package com.summer.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *账号绑定
 * @author summer502
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "tb_account_bind")

public class TbAccountBind implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id(主键)
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学号
     */
    @TableField("student_num")

    private String studentNum;

    /**
     * 教务处密码
     */
    private String password;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "create_time", value = "创建时间")

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date create_time;

    /**
     * 修改时间
     */
    @ApiModelProperty(name = "update_time", value = "修改时间")

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date update_time;

    /**
     * 是否删除
     */
    @TableField("is_delete")
    private Integer isDelete;


}
